package cn.lixin.org.service.impl;

import cn.lixin.basic.service.impl.BaseServiceImpl;
import cn.lixin.org.domain.DictionaryDetail;
import cn.lixin.org.domain.DictionaryType;
import cn.lixin.org.mapper.DictionaryTypeMapper;
import cn.lixin.org.service.IDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {

    @Autowired
    private DictionaryTypeMapper dictionaryTypeMapper;


    /**
     * 查询抽屉详情
     *
     * @param id
     * @return
     */
    @Override
    public List<DictionaryDetail> loadDicType(Long id) {
        return dictionaryTypeMapper.loadDicType(id);
    }
}
